package com.hunttown.mes.manage.controller._basic;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @title: 高德地图相关
 * @author: wangjunfu
 * @date: 2021年09月17日 11:37
 * @description:
 */
@Controller
@RequestMapping(value = "/basic/gaode")
public class GaodeController {

    //region 配置中的高德信息
    @Value("${amap.key}")
    private String amapKey;

    @Value("${amap.version}")
    private String amapVersion;
    //endregion

    @RequestMapping(value = "/amap-keywords", method = RequestMethod.GET)
    public String amapKeywords() {
        return "gaode/search-keywords/amap-keywords";
    }

    @RequestMapping(value = "/amap-poi", method = RequestMethod.GET)
    public String amapPoi() {
        return "gaode/search-poi/amap-poi";
    }
}
